//
//  CollectionViewCell.m
//  waiMai
//
//  Created by Haricot_cpc17 on 16/4/12.
//  Copyright © 2016年 mac. All rights reserved.
//

#import "CollectionViewCell.h"

@implementation CollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame{
    if (self = [super initWithFrame:frame]) {
        
        _TitleLabel = [[UILabel alloc]initWithFrame:CGRectMake(5, 5, 80, 20)];
        
        _TitleLabel.font = [UIFont systemFontOfSize:12];
        
        [self.contentView addSubview:_TitleLabel];
        
        _button = [[UIButton alloc]initWithFrame:CGRectMake(0, 10, WIDTH, 40)];
        
        [self.contentView addSubview:_button];
    }
    return self;
}


@end
